
    TestCase
    (
        'ie.ondevice.objectkit.extension.NumberTestCase'

    ,   {
            testNumberIsNatural: function () 
            {
                assertTrue('integers greater than 0 are positive integers', Number.isNatural(1));
                assertFalse('zero is not a positive integer', Number.isNatural(0));
                assertFalse('floats do not qualify as positive integers', Number.isNatural(1.1));
            }
            
        ,   testNumberIs: function () 
            {
                assertFalse('NaN is not a number', Number.is(NaN));
                assertTrue('primitive numbers are considered numbers', Number.is(0));
                assertTrue('object numbers are considered numbers', Number.is(new Number));
            }
            
        ,   testNumberIsFloat: function () 
            {
                assertFalse('0.0 is a not a float', Number.isFloat(0.0));
                assertFalse('1 is not a float', Number.isFloat(1));
                assertTrue('0.1 is a flaot', Number.isFloat(0.1));
                assertTrue('-PI is a float', Number.isFloat(-Math.PI));
            }
            
        ,   testNumberIsInteger: function () 
            {
                assertFalse ('PI is not an integer', Number.isInteger(Math.PI));
                assertTrue('zero is an integer', Number.isInteger(0));
                assertTrue('minus 10 is an integer', Number.isInteger(-1));
            }
        }
    );